HipRenderer

Undocumented in source.
class HipRenderer {}

Members

Static functions

begin
void begin()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear()
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear(HipColorf color)
Undocumented in source. Be warned that the author may not have intended to support it.
clear
void clear(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
createIndexBuffer
IHipIndexBufferImpl createIndexBuffer(index_t count, HipBufferUsage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
createShaderVar
ShaderVar* createShaderVar(ShaderTypes shaderType, UniformType uniformType, string varName, size_t length)
Undocumented in source. Be warned that the author may not have intended to support it.
createVertexArray
IHipVertexArrayImpl createVertexArray()
Undocumented in source. Be warned that the author may not have intended to support it.
createVertexBuffer
IHipVertexBufferImpl createVertexBuffer(size_t size, HipBufferUsage usage)
Undocumented in source. Be warned that the author may not have intended to support it.
dispose
void dispose()
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawIndexed
void drawIndexed(HipRendererMode mode, index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawVertices
void drawVertices(index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
drawVertices
void drawVertices(HipRendererMode mode, index_t count, uint offset)
Undocumented in source. Be warned that the author may not have intended to support it.
end
void end()
Undocumented in source. Be warned that the author may not have intended to support it.
exitOnError
void exitOnError(string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentConfig
HipRendererConfig getCurrentConfig()
Undocumented in source. Be warned that the author may not have intended to support it.
getCurrentViewport
Viewport getCurrentViewport()
Undocumented in source. Be warned that the author may not have intended to support it.
getDepthTestingFunction
HipDepthTestingFunction getDepthTestingFunction()
Undocumented in source. Be warned that the author may not have intended to support it.
getMatrix
T getMatrix(T mat)

Fixes the matrix order based on the config and renderer. If the renderer is column and the config is row, it will tranpose

getMaxSupportedShaderTextures
int getMaxSupportedShaderTextures()
Undocumented in source. Be warned that the author may not have intended to support it.
getMode
HipRendererMode getMode()
Undocumented in source. Be warned that the author may not have intended to support it.
getRendererType
HipRendererType getRendererType()
Undocumented in source. Be warned that the author may not have intended to support it.
getStatistics
Statistics getStatistics()
Undocumented in source. Be warned that the author may not have intended to support it.
getTextureImplementation
IHipTexture getTextureImplementation()
Undocumented in source. Be warned that the author may not have intended to support it.
hasErrorOccurred
bool hasErrorOccurred(string err, string file, size_t line)
Undocumented in source. Be warned that the author may not have intended to support it.
initExternal
bool initExternal(HipRendererType type, int windowWidth, int windowHeight)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
bool initialize(string confData, string confPath)
Undocumented in source. Be warned that the author may not have intended to support it.
initialize
bool initialize(IHipRendererImpl impl, HipRendererConfig* config, uint width, uint height)
Undocumented in source. Be warned that the author may not have intended to support it.
isDepthTestingEnabled
bool isDepthTestingEnabled()
Undocumented in source. Be warned that the author may not have intended to support it.
newFrameBuffer
HipFrameBuffer newFrameBuffer(int width, int height, Shader frameBufferShader)
Undocumented in source. Be warned that the author may not have intended to support it.
newShader
Shader newShader(HipShaderPresets shaderPreset)
Undocumented in source. Be warned that the author may not have intended to support it.
newShader
Shader newShader(string vertexShader, string fragmentShader)
Undocumented in source. Be warned that the author may not have intended to support it.
reinitialize
void reinitialize()
Undocumented in source. Be warned that the author may not have intended to support it.
setCamera
void setCamera()
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
setColorMask
void setColorMask(ubyte r, ubyte g, ubyte b, ubyte a)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthTestingEnabled
void setDepthTestingEnabled(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setDepthTestingFunction
void setDepthTestingFunction(HipDepthTestingFunction fn)
Undocumented in source. Be warned that the author may not have intended to support it.
setErrorCheckingEnabled
void setErrorCheckingEnabled(bool enable)
Undocumented in source. Be warned that the author may not have intended to support it.
setRendererMode
void setRendererMode(HipRendererMode mode)
Undocumented in source. Be warned that the author may not have intended to support it.
setShader
void setShader(Shader s)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilOperation
void setStencilOperation(HipStencilOperation stencilFail, HipStencilOperation depthFail, HipStencilOperation stencilAndDephPass)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingEnabled
void setStencilTestingEnabled(bool bEnable)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingFunction
void setStencilTestingFunction(HipStencilTestingFunction passFunc, uint reference, uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setStencilTestingMask
void setStencilTestingMask(uint mask)
Undocumented in source. Be warned that the author may not have intended to support it.
setViewport
void setViewport(Viewport v)
Undocumented in source. Be warned that the author may not have intended to support it.
setWindowSize
void setWindowSize(int width, int height)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

currentConfig
HipRendererConfig currentConfig;
Undocumented in source.
currentDepthTestFunction
HipDepthTestingFunction currentDepthTestFunction;
Undocumented in source.
currentShader
Shader currentShader;
Undocumented in source.
currentViewport
Viewport currentViewport;
Undocumented in source.
depthTestingEnabled
bool depthTestingEnabled;
height
uint height;
Undocumented in source.
mainViewport
Viewport mainViewport;
Undocumented in source.
rendererImpl
IHipRendererImpl rendererImpl;
Undocumented in source.
rendererMode
HipRendererMode rendererMode;
Undocumented in source.
rendererType
HipRendererType rendererType;
Undocumented in source.
res
HipRendererResources res;
Undocumented in source.
stats
Statistics stats;
Undocumented in source.
width
uint width;
Undocumented in source.
window
HipWindow window;
Undocumented in source.

Structs

Statistics
struct Statistics
Undocumented in source.

Meta